package com.ny.query;

import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.groups.Default;
import io.swagger.annotations.ApiModelProperty;

/**
 * 器材查询条件
 *
 * @author MSI-NB
 * @date 2025-03-08 13:14:38
 */
@Data
public class EquipmentQuery {

    /**
     * 器材ID:器材ID，必填
     */
    @NotNull(groups = { QueryGroup.class, Default.class }, message = "器材ID不能为空")
    @ApiModelProperty(value = "器材ID:器材ID，必填")
    private Integer equipmentId;

    /**
     * 页码:页码，必填
     */
    @NotNull(groups = { QueryGroup.class, Default.class }, message = "页码不能为空")
    @ApiModelProperty(value = "页码:页码，必填")
    private Integer pageIndex;

    /**
     * 每页条数:每页条数，必填
     */
    @NotNull(groups = { QueryGroup.class, Default.class }, message = "每页条数不能为空")
    @ApiModelProperty(value = "每页条数:每页条数，必填")
    private Integer pageSize;
}
